Skip to content

Conversation

@rianrietveld
Copy link
Member

@rianrietveld rianrietveld commented Dec 9, 2025

Related issue #233

Also: fixed missing .callout class and double spaces.

Motivation: Adding the text this way has the advantage that the text doen't look like a heading, avoiding the requirement to use a heading. I think in this case a heading is not the proper way to label the content. It's just an indication of emphasised text that belongs with the surrounding content, but needs to standout.
It also gives the flexability to write out thext than the callout's name, like for example Help wanted.

Best preview is with the callouts on the Kitchen sink page below the code examples:
https://wpaccessibility.org/pr-preview/pr-241/docs/contribute/github/content-kitchen-sink/#callouts

@rianrietveld rianrietveld self-assigned this Dec 9, 2025
@rianrietveld rianrietveld moved this to PRs to review in WP A11y docs Dec 9, 2025
@rianrietveld rianrietveld linked an issue Dec 9, 2025 that may be closed by this pull request
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

PR Preview
Preview removed because the pull request was closed.
2025-12-12 06:31 UTC

@rianrietveld
Copy link
Member Author

rianrietveld commented Dec 9, 2025

@fschroiff, can you take a look too? If this is what you had in mind and if it passes the WCAG audit?

Best preview is with the callouts on the Kitchen sink page below the code examples: https://wpaccessibility.org/pr-preview/pr-241/docs/contribute/github/content-kitchen-sink/#callouts

Copy link
Member

@joedolson joedolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@joedolson
Copy link
Member

Leaving this for you to merge, @rianrietveld, if you hear from @fschroiff.

@rianrietveld rianrietveld merged commit 08c0fa3 into main Dec 12, 2025
1 check passed
@rianrietveld rianrietveld deleted the 233-remove-css-content-callout-blocks branch December 12, 2025 06:30
@github-project-automation github-project-automation bot moved this from PRs to review to Done in WP A11y docs Dec 12, 2025
@rianrietveld
Copy link
Member Author

I merged this, so Florian can include this in his WCAG-EM end review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Remove CSS content from callout blocks

3 participants